/**
 *
 * @file	voice.h
 * @author	Michiel Hegemans
 * @author	Peter Evers
 * @date	November 15, 2012
 * @brief	Voice header file
 *
 * Handles the robot's voice.
 *
 */

#ifndef VOICE_H_
#define VOICE_H_

#include <sound_play/sound_play.h>
#include <stdio.h>

#define VOICE_DEFAULT		"voice_kal_diphone"
#define VOICE_FEMALE_ADV_1	"voice_cmu_us_slt_arctic_hts"

class Voice {
protected:
	ros::NodeHandle nh_;
	std::string voiceType_;
	sound_play::SoundClient sc_;
public:
	Voice() : nh_("") {
		voiceType_ = VOICE_DEFAULT;
	};
	~Voice() {
		nh_.shutdown();
	};
	void say(std::string text);
	void changeVoice(std::string voice);
};


#endif /* VOICE_H_ */
